// package: rewords-server-2024
// filename: admin
// author: diogoxiang@gmail.com
// time: 2024/11/20 14:58

package admin

import (
	"context"
	"github.com/gogf/gf/v2/errors/gerror"
	"rewords-server-2024/api/admin"
	"rewords-server-2024/internal/library/ecode"
)

// CodeLoign 扫码登录
func CodeLoign(ctx context.Context, req *admin.CodeLoginReq) (res *admin.CodeLoginRes, err error) {

	return nil, gerror.NewCode(ecode.UserTokenError, "登录错误")
}
